<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      [href] {
        color: red;
      }
      [href='demo.html'] {
        text-decoration: none;
      }
      [href^='hello'] {
        background-color: pink;
      }
      [href$='jsp'] {
        font-weight: bold;
      }

      [href*='o'] {
        color: blue;
      }
    </style>
  </head>
  <body>
    <a href="">aaaa1</a> <br />
    <a href="demo.html">aaaa2</a><br />
    <a href="hello1.html">aaaa3</a><br />
    <a href="hello2.jsp">aaaa3</a><br />
    <a href="hello3.jsp">aaaa4</a><br />
    <p>bbbb</p>
  </body>
</html>
